package com.example.demo_1106.service;

import com.example.demo_1106.entity.ShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author kongke
* @description 针对表【shopping_cart】的数据库操作Service
* @createDate 2023-07-23 10:09:06
*/
public interface ShoppingCartService extends IService<ShoppingCart> {
    /**
     * 删除货物搬运记录
     *
     * @param shopcode 货物编号
     * @return boolean
     */
    boolean delShoppingCart(String shopcode);

    /**
     * 查询搬运记录
     *
     * @param shopcode 货物编号
     * @return {@link List}<{@link ShoppingCart}>
     */
    List<ShoppingCart> getShop(String shopcode);
}
